Efficient Dilation, Erosion, Opening and Closing Algorithms
نویسندگان
چکیده
We propose an efficient and deterministic algorithm for computing the one dimensional dilation and erosion (max and min) sliding window filters. For a p-element sliding window, our algorithm computes the 1D filter using 1:5+o(1) comparisons per sample point. Our algorithm constitutes a deterministic improvement over the best previously known such algorithm, independently developed by van Herk [25] and by Gil and Werman [12] (the HGW algorithm). The results presented in this paper constitute also an improvement over the Gevorkian, Astola and Atourian [9] (GAA) variant of the HGW algorithm. The improvement over the GAA variant is also in the computation model. The GAA algorithm makes the assumption that the input is independently and identically distributed (the i.i.d. assumption), whereas our main result is deterministic. We also deal with the problem of computing the dilation and erosion filters simultaneously, as required e.g., for computing the unbiased morphological edge. In the case of i.i.d. inputs we show that this simultaneous computation can be done more efficiently then separately computing each. We then turn to the opening filter, defined as the application of the min filter to the max filter, and give an efficient algorithm for its computation. Specifically, this algorithm is only slightly slower than the computation of just the max filter. The improved algorithms are readily generalized to two dimensions (for a rectangular window), as well as to any higher finite dimension (for a hyper-box window), with the number of comparisons per window remaining constant. For the sake of concreteness, we also make a few comments on implementation considerations in a contemporary programming language. A preliminary version of this paper was published in the proceedings of ISMM’00 [11].
منابع مشابه
Character Recognition Using Mathematical Morphology
We describe our partially completed work on a set of morphological algorithms for recognizing handwritten numerals. The basic morphological operations { dilation, erosion, opening and closing { are used to extract characteristic features of these characters and check for their appropriate topological con guration. The paper describes the key shape characterization for two groups containing a to...
متن کاملEfficient convolution based algorithms for erosion and dilation
Morphological operations based on primitives such as dilation and erosion are slow to compute in practice especially for large structuring elements. For direct implementation of these primitives, the computing time grows exponentially with the size of the structuring element used. The latter renders these implementations impractical for large structuring elements due to a rapid increase in comp...
متن کاملGeneration of Fuzzy Mathematical Morphologies
Fuzzy Mathematical Morphology aims to extend the binary morphological operators to grey-level images. In order to define the basic morphological operations fuzzy erosion, dilation, opening and closing, we introduce a general method based upon fuzzy implication and inclusion grade operators, including as particular case, other ones existing in related literature In the definition of fuzzy erosio...
متن کاملMorphological Operations for Color-Coded Images
Abstract The subject of this paper is the semantically based postprocessing of color–coded images such as classification results. We outline why the classical definition of mathematical morphology suffers if it is used for processing of coded image data. Therefore we provide an extension for morphological operations such as dilation, erosion, opening, and closing. With a new understanding of mo...
متن کاملLocally adaptable mathematical morphology using distance transformations
We investigate how common binary mathematical morphology operators can be adapted so that the size of the structuring element can vary across the image pixels. We show that when the structuring elements are balls of a metric, locally adaptable erosion and dilation can be efficiently implemented as a variant of distance transformation algorithms. Opening and closing are obtained by a local thres...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2000